home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / DMT2400.M4 < prev    next >
Text File  |  1996-04-01  |  4KB  |  148 lines

  1. name DynaMyte 4 axis 2400
  2.  
  3. O >4
  4. L >4
  5. N >4
  6. G >2
  7. X ->3.>4
  8. Y ->3.>4
  9. Z ->3.>4
  10. U ->3.>3
  11. I ->3.>4
  12. J ->3.>4
  13. Q ->3.>4
  14. R ->3.>4
  15. P ->3.>4
  16. F >3.1
  17. K ->3.>4
  18. H >2
  19. D >2
  20. T >2
  21. M >2
  22. S ->3.>3
  23. E ->3.>3
  24.  
  25. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  26.  
  27. ModalLetters X Y Z F                  # List of letters that are modal    
  28.  
  29. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  30. Spaces? Y                             # Y or N  'Spaces between words     
  31.  
  32. HCode X                               # X or X U  'Horizontal char.       
  33. VCode Y                               # Y or Y V  'Vertical char.         
  34. Dcode Z                               # Depth char.                       
  35. FeedCode F                            # Feed rate char.                   
  36.  
  37. Comment ( )                           # Begin End comment char.           
  38.  
  39. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  40. Coolant 8 9 7                         # On, Off & Mist m codes            
  41. DComp 41 42 40                        # Left, Right & Cancel m codes      
  42. LComp 43 49                           # On & Off codes                    
  43.  
  44. Feed G1                             # Linear move                       
  45. Rapid G0                            # Rapid positioning word            
  46.  
  47. Spaces? N                             # Y or N  'Spaces between words     
  48.  
  49. Incremental? N                        # Y or N  'Inc or abs output        
  50. CtrIncremental? N                     # Y or N  'Inc or abs I & J         
  51. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  52.  
  53. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  54.  
  55. Work G                                # Work offset register              
  56.  
  57. CtrCode I J                           # I J or R or I J K L               
  58. Helical? N
  59.  
  60. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  61.  
  62.  
  63. Drill                                 # Drilling canned/manual cycle      
  64. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  65. end cancel
  66.  
  67. Peck                                  # Pecking canned/manual cycle       
  68. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  69. end cancel
  70.  
  71. Tap                                   # Tapping canned/manual cycle       
  72. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  73. end cancel
  74.  
  75. LTap                                  # Left handed tapping cycle         
  76. G74 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  77. end cancel
  78.  
  79. Ream                                  # Reaming canned/manual cycle       
  80. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  81. end cancel
  82.  
  83. Bore                                  # Boring canned/manual cycle        
  84. G86 X[H] Y[V] Z[D] Q[Sclear] R[Vclear] F[FRate]
  85. end cancel
  86.  
  87. Back                                  # Back boring canned/manual cycle   
  88. G87 X[H] Y[V] Z[D] Q[Sclear] R[Vclear] F[FRate]
  89. end cancel
  90.  
  91. Cancel                                # Cancel a canned/manual cycle      
  92. G80
  93. end
  94.  
  95. Index X                               # Index the rotary table            
  96. X[H] Y[V] U[RotAngle]
  97. end
  98.  
  99. UnWind                                # Unwind the rotary table           
  100. G0 Z[VClear]
  101. U0
  102. U[LastRotAng]
  103. G1 Z[LastD]
  104. end
  105.  
  106. StartCode                             # Start of the program              
  107. O[Program#]
  108. M5
  109. End
  110.  
  111. 1stToolChange                         # First tool change                 
  112. N[Block] T[Tool] M6
  113. F[FRate]
  114. G92
  115. M3
  116. End
  117.  
  118. Infeed                                # Enable cutter comp                
  119. G1 Z[D] F[Plunge]
  120. G[Side] X[H] Y[V] H[DComp] F[FRate]
  121. end
  122.  
  123. Outfeed                               # Disable cutter comp               
  124. G1 G40 X[H] Y[V]
  125. Z[D]
  126. end
  127.  
  128. ToolChange                            # Secondary tool changes            
  129. N[Block] T[Tool] M6
  130. F[FRate]
  131. G92
  132. M3
  133. End
  134.  
  135. EndCode                               # End of the program                
  136. M5
  137. M2
  138. End
  139.  
  140. CwCode                                # CW circular move                  
  141. G2 I[IVal] J[JVal] S[StartAng] E[EndAng]
  142. end
  143.  
  144. CcwCode                               # CCW circular move                 
  145. G3 I[IVal] J[JVal] S[StartAng] E[EndAng]
  146. end
  147.  
  148.